projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78b39cc
)
test/py: pass test DTB to sandbox
author
Stephen Warren
<
[email protected]
>
Thu, 28 Jan 2016 06:57:52 +0000
(23:57 -0700)
committer
Simon Glass
<
[email protected]
>
Fri, 29 Jan 2016 04:01:24 +0000
(21:01 -0700)
This is required for at least "ut dm" to operate correctly.
Signed-off-by: Stephen Warren <
[email protected]
>
Acked-by: Simon Glass <
[email protected]
>
test/py/u_boot_console_sandbox.py
patch
|
blob
|
history
diff --git
a/test/py/u_boot_console_sandbox.py
b/test/py/u_boot_console_sandbox.py
index 267f8b06508b9365f3c5c325bef64d82780ae2f4..bbf41e788ba3300b4345f9a6163f7bce0ae69f4c 100644
(file)
--- a/
test/py/u_boot_console_sandbox.py
+++ b/
test/py/u_boot_console_sandbox.py
@@
-39,7
+39,12
@@
class ConsoleSandbox(ConsoleBase):
A u_boot_spawn.Spawn object that is attached to U-Boot.
"""
- return Spawn([self.config.build_dir + '/u-boot'])
+ cmd = [
+ self.config.build_dir + '/u-boot',
+ '-d',
+ self.config.build_dir + '/arch/sandbox/dts/test.dtb'
+ ]
+ return Spawn(cmd)
def kill(self, sig):
"""Send a specific Unix signal to the sandbox process.